package cn.duli.myvideo.mapper;

import cn.duli.myvideo.pojo.Movie;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface MovieMapper {

    List<Movie> queryLike(@Param("mName") String mName);

    Page<Movie> findAll();

    Movie findById(@Param("mId") Integer mId);

    void save(Movie movie);

    void update(Movie movie);

    void deleteById(@Param("mId") Integer mId);
}